<% include header.ejs %>
	<link rel="stylesheet" type="text/css" href="/css/post.css">
    <!-- 发帖 -->
    <section class="post-main">
        <div class="post-title">
        <div class="input-group">
            <div class="input-group-btn">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span id="post-type" data-key="1">Nodejs</span> <span class="caret"></span></button>
                <ul class="dropdown-menu">
                    <li class="active"><a href="javascript:void(0)" data-key="1">Nodejs</a></li>
                    <li><a href="javascript:void(0)" data-key="2">PHP</a></li>
                    <li><a href="javascript:void(0)" data-key="3">Java</a></li>
                    <li><a href="javascript:void(0)" data-key="4">javascript</a></li>
                    <li><a href="javascript:void(0)" data-key="5">html</a></li>
                    <li><a href="javascript:void(0)" data-key="6">css</a></li>
                    <li><a href="javascript:void(0)" data-key="7">其他</a></li>
                </ul>
            </div><!-- /btn-group -->
            <input type="text" id="post-title" class="form-control" placeholder="请输入标题" aria-describedby="type">
        </div>
        </div>
        <div class="post-res">
            <div id="editor"></div>
        </div>
        <div class="post-btns">
            <button class="btn btn-primary" id="btn-post">发布</button>
        </div>
    </section>
    <script type="text/javascript" src="/plugins/wangEditor-3.0.15/wangEditor.js"></script>
    <script type="text/javascript" src="/js/post.js"></script>
<% include footer.ejs %>